# -*- coding: utf-8 -*-
# File : my_bar.py
# Author: taoyahui
# Date : 2022/6/8

import matplotlib.pyplot as plt

x_data = ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]
y_data = [5, 20, 36, 10, 75, 90]
plt.bar(x_data, y_data)
plt.rcParams['font.sans-serif'] = ['SimHei']

plt.show()
plt.close()
